<?php
/**
 * Created by Zhy
 * User: Zhy
 * Date: 2020/7/7
 * Time: 11:01
 */

namespace app\api\controller;


class Rowing extends Base
{
    private $user_id; // 用户ID
    private $page; // 页码
    private $create_time;
    
    /**
     * 异地登录验证
     * @return string
     */
    public function __construct()
    {
        $this->user_id = input('user_id');
        $this->page = input('page') ? input('page') : 1;
        $this->create_time = date('Y-m-d H:i:s');
//        $time = input('time');
//        $value = input('value');
//        $reqKey = input('reqKey');
//        $auth = $this->checkAll($this->user_id,$time,$value,$reqKey);
//        if($auth == 112){
//            echo json_encode(['status'=>301,'msg'=>$this->otherLogin]);
//            exit;
//        }elseif($auth == 110){
//            echo json_encode(['status' => 302, 'msg' => $this->frost]);
//            exit;
//        }elseif($auth == 2111){
//            echo json_encode(['status' => 303, 'msg' => $this->del]);
//            exit;
//        }
    }
    
    
}